home *** CD-ROM | disk | FTP | other *** search
- #import <eoaccess/eoaccess.h>
-
-
- @interface UniqueKey:NSObject
- {
- unsigned int keyCount;
- int nextKey;
- int maxKey;
- EODatabaseContext *dbContext;
- EODatabaseChannel *dbChannel;
- EOEntity *uniqueKeyEntity; // where maxKey for each entity is stored
- EOGenericRecord *tableMax;
- }
-
- + setConnectionDictionary:(NSDictionary *)connectionDictionary;
- - initWithEntity:(EOEntity*)entity count:(unsigned int)keyCount;
- - (int) nextKey;
-
- @end
-